//
// Created by ziya on 2021/4/28.
//

#ifndef ZIYA_JVM_CPP_GENCOLLECTORPOLICY_H
#define ZIYA_JVM_CPP_GENCOLLECTORPOLICY_H

#include "collectorPolicy.h"
#include "../utilities/HeapWord.h"

class GenCollectorPolicy: public CollectorPolicy {

public:
    HeapWord* mem_allocate_work(size_t size);

public:
    HeapWord* satisfy_failed_allocation(size_t size);
};


#endif //ZIYA_JVM_CPP_GENCOLLECTORPOLICY_H
